package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.TkmSysOrg;
import com.zjcode.cdcer.model.basic.JsonObj;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface TkmSysOrgService {

    List<TkmSysOrg> getAllOrgs();

    Map<Long,TkmSysOrg> getOrgInfoMap();

    Map<String, Object> listAllData(PageData pageData);

    List<LinkedHashMap<String, Object>> listAll(PageData pageData);

    LinkedHashMap<String, Object> getAllProvince();

    Map<String, Object> getAllProvinceCity(PageData pageData);

    Map<String, Object> getDistrictAndStreet(PageData pageData);

    List<LinkedHashMap<String, Object>> exportOrgData(PageData pageData);

    String getRegionCode(String orgId);

    String getExFlag2(String orgId);

    JsonObj saveBindList(PageData pageData);

    JsonObj echoBindCodes(PageData pageData);

    List<String> getVillageCodesByOrgId(String orgId);

    String getOrgIdByVillageCode(String villageCode,List<String> orgIds);

    List<String> getVillageCodesByOrgIds(List<String> orgIds);

    JsonObj lockOrg(String id);

    JsonObj unlock(String id);

    JsonObj setAccount(PageData pageData);

}
